<!doctype html>
<html class="default no-js">
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<title>ICreateResource | ts</title>
	<meta name="description" content="Documentation for ts">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<link rel="stylesheet" href="../assets/css/main.css">
</head>
<body>
<header>
	<div class="tsd-page-toolbar">
		<div class="container">
			<div class="table-wrap">
				<div class="table-cell" id="tsd-search" data-index="../assets/js/search.json" data-base="..">
					<div class="field">
						<label for="tsd-search-field" class="tsd-widget search no-caption">Search</label>
						<input id="tsd-search-field" type="text" />
					</div>
					<ul class="results">
						<li class="state loading">Preparing search index...</li>
						<li class="state failure">The search index is not available</li>
					</ul>
					<a href="../index.html" class="title">ts</a>
				</div>
				<div class="table-cell" id="tsd-widgets">
					<div id="tsd-filter">
						<a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a>
						<div class="tsd-filter-group">
							<div class="tsd-select" id="tsd-filter-visibility">
								<span class="tsd-select-label">All</span>
								<ul class="tsd-select-list">
									<li data-value="public">Public</li>
									<li data-value="protected">Public/Protected</li>
									<li data-value="private" class="selected">All</li>
								</ul>
							</div>
							<input type="checkbox" id="tsd-filter-inherited" checked />
							<label class="tsd-widget" for="tsd-filter-inherited">Inherited</label>
							<input type="checkbox" id="tsd-filter-externals" checked />
							<label class="tsd-widget" for="tsd-filter-externals">Externals</label>
							<input type="checkbox" id="tsd-filter-only-exported" />
							<label class="tsd-widget" for="tsd-filter-only-exported">Only exported</label>
						</div>
					</div>
					<a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a>
				</div>
			</div>
		</div>
	</div>
	<div class="tsd-page-title">
		<div class="container">
			<ul class="tsd-breadcrumb">
				<li>
					<a href="../globals.html">Globals</a>
				</li>
				<li>
					<a href="../modules/_laya_resource_icreateresource_.html">&quot;laya/resource/ICreateResource&quot;</a>
				</li>
				<li>
					<a href="interfaces._laya_resource_icreateresource_.icreateresource.html">ICreateResource</a>
				</li>
			</ul>
			<h1>Interface ICreateResource</h1>
		</div>
	</div>
</header>
<div class="container container-main">
	<div class="row">
		<div class="col-8 col-content">
			<section class="tsd-panel tsd-comment">
				<div class="tsd-comment tsd-typography">
					<div class="lead">
						<p><code>ICreateResource</code> 对象创建接口。</p>
					</div>
				</div>
			</section>
			<section class="tsd-panel tsd-hierarchy">
				<h3>Hierarchy</h3>
				<ul class="tsd-hierarchy">
					<li>
						<span class="target">ICreateResource</span>
					</li>
				</ul>
			</section>
			<section class="tsd-panel">
				<h3>Implemented by</h3>
				<ul class="tsd-hierarchy">
					<li><a href="../classes/_laya_d3_animation_animationclip_.animationclip.html" class="tsd-signature-type">AnimationClip</a></li>
					<li><a href="../classes/_laya_ani_animationtemplet_.animationtemplet.html" class="tsd-signature-type">AnimationTemplet</a></li>
					<li><a href="../classes/_laya_d3_core_avatar_.avatar.html" class="tsd-signature-type">Avatar</a></li>
					<li><a href="../classes/_laya_d3_core_basecamera_.basecamera.html" class="tsd-signature-type">BaseCamera</a></li>
					<li><a href="../classes/_laya_webgl_shader_baseshader_.baseshader.html" class="tsd-signature-type">BaseShader</a></li>
					<li><a href="../classes/_laya_resource_basetexture_.basetexture.html" class="tsd-signature-type">BaseTexture</a></li>
					<li><a href="../classes/_laya_d3_core_material_blinnphongmaterial_.blinnphongmaterial.html" class="tsd-signature-type">BlinnPhongMaterial</a></li>
					<li><a href="../classes/_laya_d3_core_camera_.camera.html" class="tsd-signature-type">Camera</a></li>
					<li><a href="../classes/_laya_d3_core_light_directionlight_.directionlight.html" class="tsd-signature-type">DirectionLight</a></li>
					<li><a href="../classes/_laya_d3_core_material_effectmaterial_.effectmaterial.html" class="tsd-signature-type">EffectMaterial</a></li>
					<li><a href="../classes/_laya_d3_core_material_extendterrainmaterial_.extendterrainmaterial.html" class="tsd-signature-type">ExtendTerrainMaterial</a></li>
					<li><a href="../classes/_laya_resource_htmlcanvas_.htmlcanvas.html" class="tsd-signature-type">HTMLCanvas</a></li>
					<li><a href="../classes/_laya_device_media_htmlvideo_.htmlvideo.html" class="tsd-signature-type">HtmlVideo</a></li>
					<li><a href="../classes/_laya_d3_core_light_lightsprite_.lightsprite.html" class="tsd-signature-type">LightSprite</a></li>
					<li><a href="../classes/_laya_d3_core_material_material_.material.html" class="tsd-signature-type">Material</a></li>
					<li><a href="../classes/_laya_d3_resource_models_mesh_.mesh.html" class="tsd-signature-type">Mesh</a></li>
					<li><a href="../classes/_laya_d3_core_meshsprite3d_.meshsprite3d.html" class="tsd-signature-type">MeshSprite3D</a></li>
					<li><a href="../classes/_laya_d3_core_meshterrainsprite3d_.meshterrainsprite3d.html" class="tsd-signature-type">MeshTerrainSprite3D</a></li>
					<li><a href="../classes/_laya_d3_core_material_pbrmaterial_.pbrmaterial.html" class="tsd-signature-type">PBRMaterial</a></li>
					<li><a href="../classes/_laya_d3_core_material_pbrspecularmaterial_.pbrspecularmaterial.html" class="tsd-signature-type">PBRSpecularMaterial</a></li>
					<li><a href="../classes/_laya_d3_core_material_pbrstandardmaterial_.pbrstandardmaterial.html" class="tsd-signature-type">PBRStandardMaterial</a></li>
					<li><a href="../classes/_laya_d3_core_pixelline_pixellinematerial_.pixellinematerial.html" class="tsd-signature-type">PixelLineMaterial</a></li>
					<li><a href="../classes/_laya_d3_core_pixelline_pixellinesprite3d_.pixellinesprite3d.html" class="tsd-signature-type">PixelLineSprite3D</a></li>
					<li><a href="../classes/_laya_d3_core_light_pointlight_.pointlight.html" class="tsd-signature-type">PointLight</a></li>
					<li><a href="../classes/_laya_d3_core_reflectionprobe_reflectionprobe_.reflectionprobe.html" class="tsd-signature-type">ReflectionProbe</a></li>
					<li><a href="../classes/_laya_d3_resource_rendertexture_.rendertexture.html" class="tsd-signature-type">RenderTexture</a></li>
					<li><a href="../classes/_laya_resource_rendertexture2d_.rendertexture2d.html" class="tsd-signature-type">RenderTexture2D</a></li>
					<li><a href="../classes/_laya_d3_core_renderablesprite3d_.renderablesprite3d.html" class="tsd-signature-type">RenderableSprite3D</a></li>
					<li><a href="../classes/_laya_resource_resource_.resource.html" class="tsd-signature-type">Resource</a></li>
					<li><a href="../classes/_laya_d3_core_scene_scene3d_.scene3d.html" class="tsd-signature-type">Scene3D</a></li>
					<li><a href="../classes/_laya_d3_core_render_screenquad_.screenquad.html" class="tsd-signature-type">ScreenQuad</a></li>
					<li><a href="../classes/_laya_d3_core_render_screentriangle_.screentriangle.html" class="tsd-signature-type">ScreenTriangle</a></li>
					<li><a href="../classes/_laya_webgl_shader_shader_.shader.html" class="tsd-signature-type">Shader</a></li>
					<li><a href="../classes/_laya_webgl_shader_d2_shader2x_.shader2x.html" class="tsd-signature-type">Shader2X</a></li>
					<li><a href="../classes/_laya_d3_core_particleshuriken_shurikenparticle3d_.shurikenparticle3d.html" class="tsd-signature-type">ShuriKenParticle3D</a></li>
					<li><a href="../classes/_laya_d3_core_particleshuriken_shurikenparticlematerial_.shurikenparticlematerial.html" class="tsd-signature-type">ShurikenParticleMaterial</a></li>
					<li><a href="../classes/_laya_d3_core_simpleskinnedmeshsprite3d_.simpleskinnedmeshsprite3d.html" class="tsd-signature-type">SimpleSkinnedMeshSprite3D</a></li>
					<li><a href="../classes/_laya_d3_core_skinnedmeshsprite3d_.skinnedmeshsprite3d.html" class="tsd-signature-type">SkinnedMeshSprite3D</a></li>
					<li><a href="../classes/_laya_d3_core_material_skyboxmaterial_.skyboxmaterial.html" class="tsd-signature-type">SkyBoxMaterial</a></li>
					<li><a href="../classes/_laya_d3_core_material_skypanoramicmaterial_.skypanoramicmaterial.html" class="tsd-signature-type">SkyPanoramicMaterial</a></li>
					<li><a href="../classes/_laya_d3_core_material_skyproceduralmaterial_.skyproceduralmaterial.html" class="tsd-signature-type">SkyProceduralMaterial</a></li>
					<li><a href="../classes/_laya_d3_core_light_spotlight_.spotlight.html" class="tsd-signature-type">SpotLight</a></li>
					<li><a href="../classes/_laya_d3_core_sprite3d_.sprite3d.html" class="tsd-signature-type">Sprite3D</a></li>
					<li><a href="../classes/_laya_ani_bone_templet_.templet.html" class="tsd-signature-type">Templet</a></li>
					<li><a href="../classes/_laya_webgl_text_texttexture_.texttexture.html" class="tsd-signature-type">TextTexture</a></li>
					<li><a href="../classes/_laya_resource_texture2d_.texture2d.html" class="tsd-signature-type">Texture2D</a></li>
					<li><a href="../classes/_laya_d3_resource_texturecube_.texturecube.html" class="tsd-signature-type">TextureCube</a></li>
					<li><a href="../classes/_laya_d3_core_trail_trailmaterial_.trailmaterial.html" class="tsd-signature-type">TrailMaterial</a></li>
					<li><a href="../classes/_laya_d3_core_trail_trailsprite3d_.trailsprite3d.html" class="tsd-signature-type">TrailSprite3D</a></li>
					<li><a href="../classes/_laya_d3_core_material_unlitmaterial_.unlitmaterial.html" class="tsd-signature-type">UnlitMaterial</a></li>
					<li><a href="../classes/_laya_resource_videotexture_.videotexture.html" class="tsd-signature-type">VideoTexture</a></li>
					<li><a href="../classes/_laya_d3_core_material_waterprimarymaterial_.waterprimarymaterial.html" class="tsd-signature-type">WaterPrimaryMaterial</a></li>
				</ul>
			</section>
			<section class="tsd-panel-group tsd-index-group">
				<h2>Index</h2>
				<section class="tsd-panel tsd-index-panel">
					<div class="tsd-index-content">
						<section class="tsd-index-section ">
							<h3>Methods</h3>
							<ul class="tsd-index-list">
								<li class="tsd-kind-method tsd-parent-kind-interface"><a href="interfaces._laya_resource_icreateresource_.icreateresource.html#_setcreateurl" class="tsd-kind-icon">_set<wbr>CreateURL</a></li>
							</ul>
						</section>
					</div>
				</section>
			</section>
			<section class="tsd-panel-group tsd-member-group ">
				<h2>Methods</h2>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface">
					<a name="_setcreateurl" class="tsd-anchor"></a>
					<h3>_set<wbr>CreateURL</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
						<li class="tsd-signature tsd-kind-icon">_set<wbr>CreateURL<span class="tsd-signature-symbol">(</span>url<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/layabox/LayaAir/blob/428b7e7e/src/layaAir/laya/resource/ICreateResource.ts#L5">laya/resource/ICreateResource.ts:5</a></li>
								</ul>
							</aside>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>url: <span class="tsd-signature-type">string</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
			</section>
		</div>
		<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
			<nav class="tsd-navigation primary">
				<ul>
					<li class="globals  ">
						<a href="../globals.html"><em>Globals</em></a>
					</li>
					<li class="current tsd-kind-module">
						<a href="../modules/_laya_resource_icreateresource_.html">&quot;laya/resource/ICreate<wbr>Resource&quot;</a>
					</li>
				</ul>
			</nav>
			<nav class="tsd-navigation secondary menu-sticky">
				<ul class="before-current">
				</ul>
				<ul class="current">
					<li class="current tsd-kind-interface tsd-parent-kind-module">
						<a href="interfaces._laya_resource_icreateresource_.icreateresource.html" class="tsd-kind-icon">ICreate<wbr>Resource</a>
						<ul>
							<li class=" tsd-kind-method tsd-parent-kind-interface">
								<a href="interfaces._laya_resource_icreateresource_.icreateresource.html#_setcreateurl" class="tsd-kind-icon">_set<wbr>CreateURL</a>
							</li>
						</ul>
					</li>
				</ul>
				<ul class="after-current">
				</ul>
			</nav>
		</div>
	</div>
</div>
<footer>
	<div class="container">
		<h2>Legend</h2>
		<div class="tsd-legend-group">
			<ul class="tsd-legend">
				<li class="tsd-kind-variable"><span class="tsd-kind-icon">Variable</span></li>
				<li class="tsd-kind-function"><span class="tsd-kind-icon">Function</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-interface"><span class="tsd-kind-icon">Interface</span></li>
				<li class="tsd-kind-method tsd-parent-kind-interface"><span class="tsd-kind-icon">Method</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-class"><span class="tsd-kind-icon">Class</span></li>
				<li class="tsd-kind-class tsd-has-type-parameter"><span class="tsd-kind-icon">Class with type parameter</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-enum"><span class="tsd-kind-icon">Enumeration</span></li>
			</ul>
		</div>
	</div>
</footer>
<div class="overlay"></div>
<script src="../assets/js/main.js"></script>
</body>
</html>